import './assets/base.css'

import App from './App.vue'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import router from './router'
import piniaPluginPersistedState from 'pinia-plugin-persistedstate';
import '@fortawesome/fontawesome-free/css/all.css';
import translate from 'i18n-jsautotranslate'
translate.selectLanguageTag.show = false //是否显示切换栏
translate.listener.start() //监控页面动态渲染的文本进行自动翻译
const pinia = createPinia();
// 使用持久化插件
pinia.use(piniaPluginPersistedState);
const app = createApp(App)
app.use(pinia)
app.use(router)

app.mount('#app')
